public final class SandboxRequestHandler extends java.lang.Object implements RequestHandler
| Constructor and Description |
|---|
SandboxRequestHandler()
constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
handleResponse(android.content.Context context,
android.content.Intent intent)
Internal method to handle the response from ResponseReceiver
|
void |
sendGetProductData(RequestId requestId,
java.util.Set<java.lang.String> skus)
Internal method to send an item data request.
|
void |
sendGetPurchaseUpdates(RequestId requestId,
boolean reset)
Internal method to send a purchase updates request.
|
void |
sendGetUserData(RequestId requestId)
Internal method to send a request to get the currently logged in user
data.
|
void |
sendNotifyFulfillment(RequestId requestId,
java.lang.String receiptId,
FulfillmentResult fulfillmentStatus)
Internal method to send a notification that the content has been
fulfilled by the 3rd party app.
|
void |
sendPurchase(RequestId requestId,
java.lang.String sku)
Internal method to send a purchase request.
|
public void sendGetUserData(RequestId requestId)
RequestHandlersendGetUserData in interface RequestHandlerpublic void sendPurchase(RequestId requestId, java.lang.String sku)
RequestHandlersendPurchase in interface RequestHandlerpublic void sendGetProductData(RequestId requestId, java.util.Set<java.lang.String> skus)
RequestHandlersendGetProductData in interface RequestHandlerpublic void sendGetPurchaseUpdates(RequestId requestId, boolean reset)
RequestHandlersendGetPurchaseUpdates in interface RequestHandlerpublic void sendNotifyFulfillment(RequestId requestId, java.lang.String receiptId, FulfillmentResult fulfillmentStatus)
RequestHandlersendNotifyFulfillment in interface RequestHandlerpublic void handleResponse(android.content.Context context,
android.content.Intent intent)
RequestHandlerhandleResponse in interface RequestHandler